package com.hh.vo;

import com.hh.entity.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author 辉辉 2022/8/22 1:28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("单个商家订单的详情")
public class OrderVo {

    @ApiModelProperty("商品信息")
    private List<OrderItem> shopCartItemDiscounts;

    /**
     * 哪些组合 满减 优惠
     */

    @ApiModelProperty("这些商品组合的运费")
    private BigDecimal transfee;

    @ApiModelProperty("这些商品组合的运商家满减")
    private BigDecimal shopReduce;
}
